<?php


namespace app\common\model\mysql;


class SpecsValue extends BaseModel
{
    public function getNormalBySpecsId($specsId, $field = "*"){
        $where = [
            "specs_id" => $specsId,
            "status" => config("status.mysql.table_normal"),
        ];
        $res = $this->where($where)
            ->field($field)
            ->select();
        return $res;
    }
}